package sensors.realSensors;

import bluetoothCommunication.Communicator;
import robots.RealGhost;
import sensors.Sensor;


public abstract class RealSensor extends Sensor {
	
	Communicator comm;

	public RealSensor(RealGhost ghost, Communicator comm) {
		super(ghost);
		setCommunicator(ghost.getCommunicator());
	}

	public Communicator getCommunicator() {
		return comm;
	}
	private void setCommunicator(Communicator comm) {
		this.comm = comm;
	}

}
